<script setup lang="ts">
import WangEditor from '@/components/WangEditor';

const value = ref('初始化内容');
</script>

<template>
  <PageCard title="WangEditor">
    <WangEditor v-model="value" height="300px" />
    <div style="margin-top: 10px">
      <textarea v-model="value" readonly style="width: 100%; outline: none" />
    </div>
  </PageCard>
</template>
